# $Id$
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>

pkgname=zvbi
pkgver=0.2.35
pkgrel=3
pkgdesc='VBI capture and decoding library'
url='http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome'
arch=('x86_64')
depends=('libpng' 'libx11')
license=('GPL')
source=("https://downloads.sourceforge.net/sourceforge/zapping/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('fc883c34111a487c4a783f91b1b2bb5610d8d8e58dcba80c7ab31e67e4765318')

build() {
  cd zvbi-${pkgver}

  ./configure \
    --prefix='/usr' \
    --sbindir='/usr/bin'
  make
}

package() {
  cd zvbi-${pkgver}

  make DESTDIR="${pkgdir}" install
}

# vim: ts=2 sw=2 et:
